package com.ruoyi.act.module.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面控制器入口
 *
 * @author hcj
 */
@Controller
@RequestMapping
public class IndexController {


    /**
     * 打开模型编辑器
     *
     * @param modelId
     * @return
     */
    @GetMapping("/act/edit/{modelId}")
    public String modeler(@PathVariable String modelId) {
        return "redirect:/modeler/modeler.html?modelId=" + modelId;
    }

}
